import request from '@/utils/request';

/**
 * 查询成本分析列表
 */

export const getCostList = (query) => {
  return request({
    url: '/system/dataAnalysis/costAnalysis',
    method: 'get',
    params: query
  });
};


/**
 * 查询收入分析列表
 */
export const getRevenueList = (query) => {
  return request({
    url: '/system/dataAnalysis/revenueAnalysis',
    method: 'get',
    params: query
  });
};

/**
 * 查询成本收入比统计列表
 */
export const getCandRList = (query) => {
  return request({
    url: '/system/dataAnalysis/costAndRevenueAnalysis',
    method: 'get',
    params: query
  });
};

